package main
import "fmt"


func main(){
	/* for
     for 后变量不能用 var i int = 1只能用 i := 1
	*/
    var sum int = 0
	for i := 1 ; i <= 5 ; i++ {
        sum += i
	}
	fmt.Println(sum)
}